package com.lovo.ssc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lovo
 * @since 2022-07-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("secKill")
public class Seckill extends Model {

    private static final long serialVersionUID = 1L;

    @TableId("goodsId")
    private Integer goodsId;

    private String code;

    @TableField("sellPrice")
    private Float sellprice;

    private String info;

    @TableField("goodsName")
    private String goodsName;

    //折扣率
    private Float discount;


}
